package com.ourteam.product.model.dao;

import net.dao.IDataAccessInterface;


/**
 * Template Name : DAO接口模板
 * Template Version : 1
 * Template Last Modfiy Date : Thu Sep 21 11:14:14 IRKT 2017
 * Auto Generate Date : 2017-11-17 11:00:44
  * Warning ! This file will be overwrite when regenerate !
  *
 */
public interface IBaseProductModelServiceParameterDAO
    extends IDataAccessInterface<ProductModelServiceParameter, ProductModelServiceParameterDAOQueryBean> {
    /**
        *  Mapped Entity Name
        */
    static final String EntityName = "PRODUCT_MODEL_SERVICE_PARAMETER";

    /**
     * Mapped Field ID
    */
    static final String Id = "PRODUCT_MODEL_SERVICE_PARAMETER.ID";

    /**
     * Mapped Field SERVICE_ID
    */
    static final String ServiceId = "PRODUCT_MODEL_SERVICE_PARAMETER.SERVICE_ID";

    /**
     * Mapped Field PARAMETER_CODE
    */
    static final String ParameterCode = "PRODUCT_MODEL_SERVICE_PARAMETER.PARAMETER_CODE";

    /**
     * Mapped Field PARAMETER_NAME
    */
    static final String ParameterName = "PRODUCT_MODEL_SERVICE_PARAMETER.PARAMETER_NAME";

    /**
     * Mapped Field PARAMETER_TYPE
    */
    static final String ParameterType = "PRODUCT_MODEL_SERVICE_PARAMETER.PARAMETER_TYPE";

    /**
     * Mapped Field DATA_TYPE_ID
    */
    static final String DataTypeId = "PRODUCT_MODEL_SERVICE_PARAMETER.DATA_TYPE_ID";

    /**
     * Mapped Field DATA_CHECK
    */
    static final String DataCheck = "PRODUCT_MODEL_SERVICE_PARAMETER.DATA_CHECK";

    /**
     * Mapped Field IS_ARRAY
    */
    static final String IsArray = "PRODUCT_MODEL_SERVICE_PARAMETER.IS_ARRAY";

    /**
     * Mapped Field SORT_INDEX
    */
    static final String SortIndex = "PRODUCT_MODEL_SERVICE_PARAMETER.SORT_INDEX";

    /**
     * Mapped Field STATUS
    */
    static final String Status = "PRODUCT_MODEL_SERVICE_PARAMETER.STATUS";

    /**
     * Mapped Field REMARKS
    */
    static final String Remarks = "PRODUCT_MODEL_SERVICE_PARAMETER.REMARKS";

    /**
     * Mapped Attribute dataType
    */
    static final String DataType = org.apache.commons.lang.StringUtils.replace(com.ourteam.product.model.dao.IProductModelObjectDAO.ObjectCode,
            com.ourteam.product.model.dao.IProductModelObjectDAO.EntityName +
            ".", "PRODUCT_MODEL_OBJECT.");

    /**
     * Delete Data
     * @param final long id
     * @throws Exception
     */
    void delete(final long id) throws Exception;

    /**
         * Find Data By Primary Key
         * @param  final long id
         * @throws Exception
         */
    ProductModelServiceParameter findById(final long id)
        throws Exception;

    static public interface DataProperty {
        /**
         * Attribute id
         */
        static final String Id = "id";

        /**
         * Attribute serviceId
         */
        static final String ServiceId = "serviceId";

        /**
         * Attribute parameterCode
         */
        static final String ParameterCode = "parameterCode";

        /**
         * Attribute parameterName
         */
        static final String ParameterName = "parameterName";

        /**
         * Attribute parameterType
         */
        static final String ParameterType = "parameterType";

        /**
         * Attribute dataTypeId
         */
        static final String DataTypeId = "dataTypeId";

        /**
         * Attribute dataCheck
         */
        static final String DataCheck = "dataCheck";

        /**
         * Attribute isArray
         */
        static final String IsArray = "isArray";

        /**
         * Attribute sortIndex
         */
        static final String SortIndex = "sortIndex";

        /**
         * Attribute status
         */
        static final String Status = "status";

        /**
         * Attribute remarks
         */
        static final String Remarks = "remarks";

        /**
         * Attribute dataType
         */
        static final String DataType = "dataType";
    }

    static public interface _DataObjectProperty extends DataProperty {
    }
}
